<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<div>
    <div>
        <a href="javascript:history.back(-1)" class="btn btn-primary btn-lg active" role="button" style="margin-bottom: 30px;"><返回</a>
    </div>
    <div style="margin-top: 10%;">
        <div class="col-xs-2"></div>
        <div class="col-xs-8">
            <p>
                您即将开始巡场，巡场有固定路线，请您回到【<span style="color: #b53131;font-size: 20px;">{{$first_addr}}</span>】开始【<span style="color: #b53131;font-size: 20px;">{{$type_name}}</span>】巡场。
            </p>
        </div>
        <div class="col-xs-2"></div>
    </div>
    <div id="submit_div" class="col-xs-8" style="margin-left: 17%;margin-top: 20%;">
        <a href="full_xc_record_ques?compus={{$compus}}&type={{$type}}" class="btn btn-primary btn-block btn-lg" style="background-color:#b53131;font-size: 30px;">开始巡场</a>
    </div>
    @if($xc_status == '已巡')
    <div style="margin-top: 20px;">
        <div class="col-xs-2"></div>
        <div class="col-xs-8">
            <p style="color: red;margin-top: 20px;">已巡过，再次巡场不会覆盖之前问题。</p>
            @foreach($xc_record as $xc_k=>$xc_v)
            <p>
                @foreach($xc_record[$xc_k] as $v)
                <a href="/admin/full_old_xc_record?compus={{$compus}}&type={{$type}}&xc_user={{$xc_v['xc_user']}}&created_at={{$xc_v['created_at']}}">{{$v}} </a>
                @endforeach 
            </p>
            @endforeach 
        </div>
    </div>
    
    @endif
</div>
